package com.newer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value="com-newer-domain-RoleUser")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_role_user")
public class RoleUser {
    @TableId(value = "srId", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer srid;

    @TableField(value = "roleId")
    @ApiModelProperty(value="")
    private Integer roleid;

    @TableField(value = "userId")
    @ApiModelProperty(value="")
    private Integer userid;
}